package com.mimi.repository;

import com.mimi.dataobject.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Author 徐向(Arthur Xu)
 * @Description: ${DESCRIPTION}
 * @Date: Created in  21:19 2017/9/27
 * 主键是String,所以JpaRepository第二个参数声明成String
 **/
public interface ProductInfoRepository extends JpaRepository<ProductInfo,String>{

    List<ProductInfo> findByProductStatus(Integer productStatus);
}
